projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab2521a
)
(combine-run-hooks): Only run-hooks if there's a hook to run.
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Wed, 29 Nov 2000 14:53:37 +0000
(14:53 +0000)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Wed, 29 Nov 2000 14:53:37 +0000
(14:53 +0000)
lisp/subr.el
patch
|
blob
|
history
diff --git
a/lisp/subr.el
b/lisp/subr.el
index 3adad4268aa35afe2ef25c9a488ad452253b7d27..6abec8c5b416eb9e8199a6723ca34051fd9415ea 100644
(file)
--- a/
lisp/subr.el
+++ b/
lisp/subr.el
@@
-1140,7
+1140,8
@@
in BODY."
(setq ,saved-combine-run-hooks combine-run-hooks)
(fset 'run-hooks ,saved-run-hooks)
(setq combine-run-hooks t)
- (apply 'run-hooks ,saved-combine-run-hooks))))))
+ (if ,saved-combine-run-hooks
+ (apply 'run-hooks ,saved-combine-run-hooks)))))))
(defmacro with-syntax-table (table &rest body)